#ifndef		ShellList_h
#define		ShellList_h

#include	<list>

class Config;
class SoundSystem;
class Shell;
class ITank;
namespace FMOD { class Sound; }

class ShellList
{
public:
	ShellList(Config * config, SoundSystem * soundSystem);
	~ShellList();
	void update(double delay);
	void render() const;
	void add(Shell * shell);
	void checkTank(ITank * tank);
	void clear();
private:
	std::list< Shell * > m_shell;
	Config * m_config;
	SoundSystem * m_soundSystem;
	FMOD::Sound * m_shot;
	FMOD::Sound * m_explosion;
};


#endif	// ShellList_h

